'''
Author: zhuanglaihong
Date: 2025-04-21 15:52:26
LastEditTime: 2025-04-25 16:21:58
LastEditors: zhuanglaihong
Description: 
FilePath: /zlh/raindall_gfs_revise/src/path_config.py
Copyright: Copyright (c) 2021-2024 zhuanglaihong. All rights reserved.
'''
import os
import sys
from pathlib import Path
ROOT_DIR = Path(__file__).parent.parent.absolute()

# 设置GFS下载参数
bucket = "rainfall"
minio_folder =  "A_OA_data/GFS/1h"
temp_folder = os.path.join(ROOT_DIR, "data/minio/temp/gfs")
gfs_folder = os.path.join(ROOT_DIR, "data/minio/gfs_minio")
standard_gfs_folder = os.path.join(ROOT_DIR, "data/minio/gfs_standard")
reference_nc_file = os.path.join(ROOT_DIR, "reference/", "gfs.0p25.2021010100.f024.grib2.nc")

# 设置MSWEP下载参数
bucket_name = "rainfall"
mswep_prefix = "MSWEP/1D/"
mswep_temp_folder = os.path.join(ROOT_DIR, "data/minio/temp/mswep")
mswep_output_folder = os.path.join(ROOT_DIR, "data/minio/mswep")
mswep_daily_folder = os.path.join(ROOT_DIR, "data/mswep_daily")

# 设置订正文件参数
resample_mswep_folder = os.path.join(ROOT_DIR, "data/resample_mswep")
shp_file = os.path.join(ROOT_DIR, "shp/songliao.shp")
params_folder = os.path.join(ROOT_DIR, "data/params")
corrected_gfs_folder = os.path.join(ROOT_DIR, "data/calibrated_forecasts")

